From: Jean Baptiste Favre Date: Fri, 25 Nov 2016 16:49:34 +0000 (+0100) Subject: Use system luajit or liblua X-Git-Tag: archive/raspbian/8.0.2+ds-1+rpi1~1^2^2^2^2^2~14 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e40ee7b1bd8a2ab16afefe07f2deda109a7551cc;p=trafficserver.git Use system luajit or liblua Gbp-Pq: Name 0004-force-use-luajit-system.patch --- diff --git a/Makefile.in b/Makefile.in index 7d055e9d..8d8c8bef 100644 --- a/Makefile.in +++ b/Makefile.in @@ -338,9 +338,9 @@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ -LUAJIT_CFLAGS = @LUAJIT_CFLAGS@ -LUAJIT_CPPFLAGS = @LUAJIT_CPPFLAGS@ -LUAJIT_LDFLAGS = @LUAJIT_LDFLAGS@ +LUA_CFLAGS = @LUA_CFLAGS@ +LUA_CPPFLAGS = @LUA_CPPFLAGS@ +LUA_LDFLAGS = @LUA_LDFLAGS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ diff --git a/build/luajit.m4 b/build/luajit.m4 new file mode 100644 index 00000000..5c13ac22 --- /dev/null +++ b/build/luajit.m4 @@ -0,0 +1,48 @@ +dnl -------------------------------------------------------- -*- autoconf -*- +dnl Licensed to the Apache Software Foundation (ASF) under one or more +dnl contributor license agreements. See the NOTICE file distributed with +dnl this work for additional information regarding copyright ownership. +dnl The ASF licenses this file to You under the Apache License, Version 2.0 +dnl (the "License"); you may not use this file except in compliance with +dnl the License. You may obtain a copy of the License at +dnl +dnl http://www.apache.org/licenses/LICENSE-2.0 +dnl +dnl Unless required by applicable law or agreed to in writing, software +dnl distributed under the License is distributed on an "AS IS" BASIS, +dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +dnl See the License for the specific language governing permissions and +dnl limitations under the License. + +dnl +dnl luajit.m4 Trafficserver's LuaJIT autoconf macros +dnl + +dnl +dnl TS_CHECK_LUA: look for LuaJIT libraries and headers. Fallback on Lua if LuaJIt not found +dnl +AC_DEFUN([TS_CHECK_LUA], [ + PKG_CHECK_MODULES([LUAJIT], [luajit], [have_luajit=yes], [have_luajit=no]) + PKG_CHECK_MODULES([LUALIB], [lua5.2], [have_lua=yes], [have_lua=no]) + AS_IF( + [ test "x${have_luajit}" = "xyes" ], + [ + AC_SUBST([LUA_LIBS],[$LUAJIT_LIBS]) + AC_SUBST([LUA_CFLAGS],[$LUAJIT_CFLAGS]) + AC_SUBST([LUA_CPPFLAGS],[$LUAJIT_CFLAGS]) + AC_SUBST([LUA_LDFLAGS],[$LUAJIT_LDFLAGS]) + ], + [ + AS_IF( + [ test "x${have_lua}" = "xyes" ], + [ + AC_SUBST([LUA_LIBS],[$LUALIB_LIBS]) + AC_SUBST([LUA_CFLAGS],[$LUALIB_CFLAGS]) + AC_SUBST([LUA_CPPFLAGS],[$LUALIB_CFLAGS]) + AC_SUBST([LUA_LDFLAGS],[$LUALIB_LDFLAGS]) + ], + [ AC_MSG_ERROR([Neither LuaJIT nor Lua package available]) ] + ) + ] + ) +]) diff --git a/configure b/configure index 57ccfefd..72a75e15 100755 --- a/configure +++ b/configure @@ -646,7 +646,7 @@ AM_LDFLAGS AM_CXXFLAGS AM_CFLAGS AM_CPPFLAGS -LUAJIT_CFLAGS +LUA_CFLAGS BUILD_REMAP_STATS_PLUGIN_FALSE BUILD_REMAP_STATS_PLUGIN_TRUE has_in6_is_addr_unspecified @@ -709,8 +709,8 @@ BUILD_TRAFFIC_TOP_FALSE BUILD_TRAFFIC_TOP_TRUE BUILD_HTTP_LOAD_FALSE BUILD_HTTP_LOAD_TRUE -LUAJIT_CPPFLAGS -LUAJIT_LDFLAGS +LUA_CPPFLAGS +LUA_LDFLAGS LIBREADLINE has_tcmalloc jemalloch @@ -8192,22 +8192,22 @@ case $host_os in fi - if test "x$LUAJIT_LDFLAGS" = "x"; then - test "x$verbose" = "xyes" && echo " setting LUAJIT_LDFLAGS to \"-m64\"" - LUAJIT_LDFLAGS="-m64" + if test "x$LUA_LDFLAGS" = "x"; then + test "x$verbose" = "xyes" && echo " setting LUA_LDFLAGS to \"-m64\"" + LUA_LDFLAGS="-m64" else ats_addto_bugger="-m64" for i in $ats_addto_bugger; do ats_addto_duplicate="0" - for j in $LUAJIT_LDFLAGS; do + for j in $LUA_LDFLAGS; do if test "x$i" = "x$j"; then ats_addto_duplicate="1" break fi done if test $ats_addto_duplicate = "0"; then - test "x$verbose" = "xyes" && echo " adding \"$i\" to LUAJIT_LDFLAGS" - LUAJIT_LDFLAGS="$LUAJIT_LDFLAGS $i" + test "x$verbose" = "xyes" && echo " adding \"$i\" to LUA_LDFLAGS" + LUA_LDFLAGS="$LUA_LDFLAGS $i" fi done fi @@ -20744,7 +20744,6 @@ fi debug_opt="-ggdb3 $common_opt -Qunused-arguments" release_opt="-g $common_opt $optimizing_flags -fno-strict-aliasing -Qunused-arguments" cxx_opt="-Wno-invalid-offsetof" - luajit_cflags="-Wno-parentheses-equality -Wno-tautological-compare -analyzer-disable-all-checks -Wno-varargs" fi @@ -20770,7 +20769,6 @@ fi debug_opt="-g $common_opt" release_opt="-g $common_opt $optimizing_flags -fno-strict-aliasing" cxx_opt="-Wno-invalid-offsetof" - luajit_cflags="-Wno-parentheses-equality -Wno-tautological-compare -Wno-varargs" else @@ -20840,7 +20838,6 @@ fi debug_opt="-ggdb3 $common_opt" release_opt="-g $common_opt $optimizing_flags -fno-strict-aliasing" cxx_opt="-Wno-invalid-offsetof" - luajit_cflags="-Wno-parentheses-equality -Wno-tautological-compare -Wno-varargs" fi @@ -27408,19 +27405,6 @@ done fi -# On Darwin LuaJIT requires magic link options, otherwise it will crash in luaL_openlibs() at startup. See -# http://luajit.org/install.html. -case $host_os_def in - darwin) - LUAJIT_LDFLAGS="-Wl,-pagezero_size,10000 -Wl,-image_base,100000000" - ;; -esac - -# Flags for building and linking against our internal copy of LuaJIT. - -LUAJIT_CPPFLAGS='-I$(abs_top_srcdir)/lib/luajit/src' - - # We should be able to build http_load if epoll(2) is available. if test x"$ac_cv_func_epoll_ctl" = x"yes"; then BUILD_HTTP_LOAD_TRUE= @@ -28585,22 +28569,22 @@ iocore_include_dirs="\ # can strip the coverage flags from Lua while keeping them by # default everywhere else. - if test "x$LUAJIT_CFLAGS" = "x"; then - test "x$verbose" = "xyes" && echo " setting LUAJIT_CFLAGS to \"$CFLAGS $luajit_cflags\"" - LUAJIT_CFLAGS="$CFLAGS $luajit_cflags" + if test "x$LUA_CFLAGS" = "x"; then + test "x$verbose" = "xyes" && echo " setting LUA_CFLAGS to \"$CFLAGS $luajit_cflags\"" + LUA_CFLAGS="$CFLAGS $luajit_cflags" else ats_addto_bugger="$CFLAGS $luajit_cflags" for i in $ats_addto_bugger; do ats_addto_duplicate="0" - for j in $LUAJIT_CFLAGS; do + for j in $LUA_CFLAGS; do if test "x$i" = "x$j"; then ats_addto_duplicate="1" break fi done if test $ats_addto_duplicate = "0"; then - test "x$verbose" = "xyes" && echo " adding \"$i\" to LUAJIT_CFLAGS" - LUAJIT_CFLAGS="$LUAJIT_CFLAGS $i" + test "x$verbose" = "xyes" && echo " adding \"$i\" to LUA_CFLAGS" + LUA_CFLAGS="$LUA_CFLAGS $i" fi done fi @@ -28608,13 +28592,13 @@ iocore_include_dirs="\ - if test "x$LUAJIT_CFLAGS" = "x"-fsanitize=address""; then - test "x$verbose" = "xyes" && echo " nulling LUAJIT_CFLAGS" - LUAJIT_CFLAGS="" + if test "x$LUA_CFLAGS" = "x"-fsanitize=address""; then + test "x$verbose" = "xyes" && echo " nulling LUA_CFLAGS" + LUA_CFLAGS="" else ats_new_bugger="" ats_removed=0 - for i in $LUAJIT_CFLAGS; do + for i in $LUA_CFLAGS; do if test "x$i" != "x"-fsanitize=address""; then ats_new_bugger="$ats_new_bugger $i" else @@ -28622,19 +28606,19 @@ iocore_include_dirs="\ fi done if test $ats_removed = "1"; then - test "x$verbose" = "xyes" && echo " removed \""-fsanitize=address"\" from LUAJIT_CFLAGS" - LUAJIT_CFLAGS=$ats_new_bugger + test "x$verbose" = "xyes" && echo " removed \""-fsanitize=address"\" from LUA_CFLAGS" + LUA_CFLAGS=$ats_new_bugger fi fi - if test "x$LUAJIT_CFLAGS" = "x"-fsanitize=thread""; then - test "x$verbose" = "xyes" && echo " nulling LUAJIT_CFLAGS" - LUAJIT_CFLAGS="" + if test "x$LUA_CFLAGS" = "x"-fsanitize=thread""; then + test "x$verbose" = "xyes" && echo " nulling LUA_CFLAGS" + LUA_CFLAGS="" else ats_new_bugger="" ats_removed=0 - for i in $LUAJIT_CFLAGS; do + for i in $LUA_CFLAGS; do if test "x$i" != "x"-fsanitize=thread""; then ats_new_bugger="$ats_new_bugger $i" else @@ -28642,19 +28626,19 @@ iocore_include_dirs="\ fi done if test $ats_removed = "1"; then - test "x$verbose" = "xyes" && echo " removed \""-fsanitize=thread"\" from LUAJIT_CFLAGS" - LUAJIT_CFLAGS=$ats_new_bugger + test "x$verbose" = "xyes" && echo " removed \""-fsanitize=thread"\" from LUA_CFLAGS" + LUA_CFLAGS=$ats_new_bugger fi fi - if test "x$LUAJIT_CFLAGS" = "x"-fsanitize=memory""; then - test "x$verbose" = "xyes" && echo " nulling LUAJIT_CFLAGS" - LUAJIT_CFLAGS="" + if test "x$LUA_CFLAGS" = "x"-fsanitize=memory""; then + test "x$verbose" = "xyes" && echo " nulling LUA_CFLAGS" + LUA_CFLAGS="" else ats_new_bugger="" ats_removed=0 - for i in $LUAJIT_CFLAGS; do + for i in $LUA_CFLAGS; do if test "x$i" != "x"-fsanitize=memory""; then ats_new_bugger="$ats_new_bugger $i" else @@ -28662,19 +28646,19 @@ iocore_include_dirs="\ fi done if test $ats_removed = "1"; then - test "x$verbose" = "xyes" && echo " removed \""-fsanitize=memory"\" from LUAJIT_CFLAGS" - LUAJIT_CFLAGS=$ats_new_bugger + test "x$verbose" = "xyes" && echo " removed \""-fsanitize=memory"\" from LUA_CFLAGS" + LUA_CFLAGS=$ats_new_bugger fi fi - if test "x$LUAJIT_CFLAGS" = "x"-fprofile-instr-generate""; then - test "x$verbose" = "xyes" && echo " nulling LUAJIT_CFLAGS" - LUAJIT_CFLAGS="" + if test "x$LUA_CFLAGS" = "x"-fprofile-instr-generate""; then + test "x$verbose" = "xyes" && echo " nulling LUA_CFLAGS" + LUA_CFLAGS="" else ats_new_bugger="" ats_removed=0 - for i in $LUAJIT_CFLAGS; do + for i in $LUA_CFLAGS; do if test "x$i" != "x"-fprofile-instr-generate""; then ats_new_bugger="$ats_new_bugger $i" else @@ -28682,19 +28666,19 @@ iocore_include_dirs="\ fi done if test $ats_removed = "1"; then - test "x$verbose" = "xyes" && echo " removed \""-fprofile-instr-generate"\" from LUAJIT_CFLAGS" - LUAJIT_CFLAGS=$ats_new_bugger + test "x$verbose" = "xyes" && echo " removed \""-fprofile-instr-generate"\" from LUA_CFLAGS" + LUA_CFLAGS=$ats_new_bugger fi fi - if test "x$LUAJIT_CFLAGS" = "x"-fcoverage-mapping""; then - test "x$verbose" = "xyes" && echo " nulling LUAJIT_CFLAGS" - LUAJIT_CFLAGS="" + if test "x$LUA_CFLAGS" = "x"-fcoverage-mapping""; then + test "x$verbose" = "xyes" && echo " nulling LUA_CFLAGS" + LUA_CFLAGS="" else ats_new_bugger="" ats_removed=0 - for i in $LUAJIT_CFLAGS; do + for i in $LUA_CFLAGS; do if test "x$i" != "x"-fcoverage-mapping""; then ats_new_bugger="$ats_new_bugger $i" else @@ -28702,19 +28686,19 @@ iocore_include_dirs="\ fi done if test $ats_removed = "1"; then - test "x$verbose" = "xyes" && echo " removed \""-fcoverage-mapping"\" from LUAJIT_CFLAGS" - LUAJIT_CFLAGS=$ats_new_bugger + test "x$verbose" = "xyes" && echo " removed \""-fcoverage-mapping"\" from LUA_CFLAGS" + LUA_CFLAGS=$ats_new_bugger fi fi - if test "x$LUAJIT_CFLAGS" = "x"--coverage""; then - test "x$verbose" = "xyes" && echo " nulling LUAJIT_CFLAGS" - LUAJIT_CFLAGS="" + if test "x$LUA_CFLAGS" = "x"--coverage""; then + test "x$verbose" = "xyes" && echo " nulling LUA_CFLAGS" + LUA_CFLAGS="" else ats_new_bugger="" ats_removed=0 - for i in $LUAJIT_CFLAGS; do + for i in $LUA_CFLAGS; do if test "x$i" != "x"--coverage""; then ats_new_bugger="$ats_new_bugger $i" else @@ -28722,8 +28706,8 @@ iocore_include_dirs="\ fi done if test $ats_removed = "1"; then - test "x$verbose" = "xyes" && echo " removed \""--coverage"\" from LUAJIT_CFLAGS" - LUAJIT_CFLAGS=$ats_new_bugger + test "x$verbose" = "xyes" && echo " removed \""--coverage"\" from LUA_CFLAGS" + LUA_CFLAGS=$ats_new_bugger fi fi @@ -31487,9 +31471,9 @@ fi SHARED_LDFLAGS: $SHARED_LDFLAGS OPENSSL_LDFLAGS: $OPENSSL_LDFLAGS OPENSSL_INCLUDES: $OPENSSL_INCLUDES - LUAJIT_CFLAGS: $LUAJIT_CFLAGS - LUAJIT_CPPFLAGS: $LUAJIT_CPPFLAGS - LUAJIT_LDFLAGS: $LUAJIT_LDFLAGS + LUA_CFLAGS: $LUA_CFLAGS + LUA_CPPFLAGS: $LUA_CPPFLAGS + LUA_LDFLAGS: $LUA_LDFLAGS " >&5 $as_echo "$as_me: Build option summary: CC: $CC @@ -31506,7 +31490,7 @@ $as_echo "$as_me: Build option summary: SHARED_LDFLAGS: $SHARED_LDFLAGS OPENSSL_LDFLAGS: $OPENSSL_LDFLAGS OPENSSL_INCLUDES: $OPENSSL_INCLUDES - LUAJIT_CFLAGS: $LUAJIT_CFLAGS - LUAJIT_CPPFLAGS: $LUAJIT_CPPFLAGS - LUAJIT_LDFLAGS: $LUAJIT_LDFLAGS + LUA_CFLAGS: $LUA_CFLAGS + LUA_CPPFLAGS: $LUA_CPPFLAGS + LUA_LDFLAGS: $LUA_LDFLAGS " >&6;} diff --git a/configure.ac b/configure.ac index cd201a4b..06a5c2b5 100644 --- a/configure.ac +++ b/configure.ac @@ -647,7 +647,7 @@ case $host_os in *amd64*) TS_ADDTO(AM_CFLAGS, [-m64]) TS_ADDTO(AM_CXXFLAGS, [-m64]) - TS_ADDTO(LUAJIT_LDFLAGS, [-m64]) + TS_ADDTO(LUA_LDFLAGS, [-m64]) ;; esac ;; @@ -815,7 +815,6 @@ case $host_os_def in debug_opt="-ggdb3 $common_opt -Qunused-arguments" release_opt="-g $common_opt $optimizing_flags -fno-strict-aliasing -Qunused-arguments" cxx_opt="-Wno-invalid-offsetof" - luajit_cflags="-Wno-parentheses-equality -Wno-tautological-compare -analyzer-disable-all-checks -Wno-varargs" ]) AS_IF([test "x$ax_cv_c_compiler_vendor" = "xgnu"], [ @@ -837,7 +836,6 @@ case $host_os_def in debug_opt="-g $common_opt" release_opt="-g $common_opt $optimizing_flags -fno-strict-aliasing" cxx_opt="-Wno-invalid-offsetof" - luajit_cflags="-Wno-parentheses-equality -Wno-tautological-compare -Wno-varargs" ], [ AC_MSG_WARN([clang is the only supported compiler on Darwin]) ]) @@ -858,7 +856,6 @@ case $host_os_def in debug_opt="-ggdb3 $common_opt" release_opt="-g $common_opt $optimizing_flags -fno-strict-aliasing" cxx_opt="-Wno-invalid-offsetof" - luajit_cflags="-Wno-parentheses-equality -Wno-tautological-compare -Wno-varargs" ]) AS_IF([test "x$ax_cv_c_compiler_vendor" = "xgnu"], [ @@ -1186,6 +1183,11 @@ TS_CHECK_ZLIB # Check for lzma presence and usability TS_CHECK_LZMA +# +# Check for luajit presence and usability +TS_CHECK_LUA +TS_ADDTO(CPPFLAGS, [$LUA_CFLAGS]) + # # Tcl macros provided by build/tcl.m4 # @@ -1491,18 +1493,6 @@ TS_CHECK_TCMALLOC # Check for libreadline/libedit AX_LIB_READLINE -# On Darwin LuaJIT requires magic link options, otherwise it will crash in luaL_openlibs() at startup. See -# http://luajit.org/install.html. -case $host_os_def in - darwin) - LUAJIT_LDFLAGS="-Wl,-pagezero_size,10000 -Wl,-image_base,100000000" - ;; -esac - -# Flags for building and linking against our internal copy of LuaJIT. -AC_SUBST([LUAJIT_LDFLAGS]) -AC_SUBST([LUAJIT_CPPFLAGS], ['-I$(abs_top_srcdir)/lib/luajit/src']) - # We should be able to build http_load if epoll(2) is available. AM_CONDITIONAL([BUILD_HTTP_LOAD], [test x"$ac_cv_func_epoll_ctl" = x"yes"]) @@ -1909,20 +1899,6 @@ iocore_include_dirs="\ -I\$(abs_top_srcdir)/iocore/utils \ -I\$(abs_top_srcdir)/iocore/dns" -# Flags for buildit LuaJIT itself. We take the latest version -# of the generic flags, plus any Lua-specific flags so that we -# can strip the coverage flags from Lua while keeping them by -# default everywhere else. -TS_ADDTO(LUAJIT_CFLAGS, [$CFLAGS $luajit_cflags]) -AC_SUBST([LUAJIT_CFLAGS]) - -TS_REMOVEFROM(LUAJIT_CFLAGS, "-fsanitize=address") -TS_REMOVEFROM(LUAJIT_CFLAGS, "-fsanitize=thread") -TS_REMOVEFROM(LUAJIT_CFLAGS, "-fsanitize=memory") -TS_REMOVEFROM(LUAJIT_CFLAGS, "-fprofile-instr-generate") -TS_REMOVEFROM(LUAJIT_CFLAGS, "-fcoverage-mapping") -TS_REMOVEFROM(LUAJIT_CFLAGS, "--coverage") - AC_SUBST([AM_CPPFLAGS]) AC_SUBST([AM_CFLAGS]) AC_SUBST([AM_CXXFLAGS]) @@ -2023,7 +1999,8 @@ AC_MSG_NOTICE([Build option summary: SHARED_LDFLAGS: $SHARED_LDFLAGS OPENSSL_LDFLAGS: $OPENSSL_LDFLAGS OPENSSL_INCLUDES: $OPENSSL_INCLUDES - LUAJIT_CFLAGS: $LUAJIT_CFLAGS - LUAJIT_CPPFLAGS: $LUAJIT_CPPFLAGS - LUAJIT_LDFLAGS: $LUAJIT_LDFLAGS + LUA_LIBS: $LUA_LIBS + LUA_CFLAGS: $LUA_CFLAGS + LUA_CPPFLAGS: $LUA_CPPFLAGS + LUA_LDFLAGS: $LUA_LDFLAGS ]) diff --git a/doc/Makefile.in b/doc/Makefile.in index 730b7e93..eafaf5e9 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -275,9 +275,9 @@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ -LUAJIT_CFLAGS = @LUAJIT_CFLAGS@ -LUAJIT_CPPFLAGS = @LUAJIT_CPPFLAGS@ -LUAJIT_LDFLAGS = @LUAJIT_LDFLAGS@ +LUA_CFLAGS = @LUA_CFLAGS@ +LUA_CPPFLAGS = @LUA_CPPFLAGS@ +LUA_LDFLAGS = @LUA_LDFLAGS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ diff --git a/example/Makefile.in b/example/Makefile.in index 9097b69e..62584c2e 100644 --- a/example/Makefile.in +++ b/example/Makefile.in @@ -811,9 +811,9 @@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ -LUAJIT_CFLAGS = @LUAJIT_CFLAGS@ -LUAJIT_CPPFLAGS = @LUAJIT_CPPFLAGS@ -LUAJIT_LDFLAGS = @LUAJIT_LDFLAGS@ +LUA_CFLAGS = @LUA_CFLAGS@ +LUA_CPPFLAGS = @LUA_CPPFLAGS@ +LUA_LDFLAGS = @LUA_LDFLAGS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ diff --git a/rc/Makefile.in b/rc/Makefile.in index 2adbaa21..fe90115c 100644 --- a/rc/Makefile.in +++ b/rc/Makefile.in @@ -282,9 +282,9 @@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ -LUAJIT_CFLAGS = @LUAJIT_CFLAGS@ -LUAJIT_CPPFLAGS = @LUAJIT_CPPFLAGS@ -LUAJIT_LDFLAGS = @LUAJIT_LDFLAGS@ +LUA_CFLAGS = @LUA_CFLAGS@ +LUA_CPPFLAGS = @LUA_CPPFLAGS@ +LUA_LDFLAGS = @LUA_LDFLAGS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ diff --git a/tools/Makefile.in b/tools/Makefile.in index 864b9962..b826061e 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -364,9 +364,9 @@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ -LUAJIT_CFLAGS = @LUAJIT_CFLAGS@ -LUAJIT_CPPFLAGS = @LUAJIT_CPPFLAGS@ -LUAJIT_LDFLAGS = @LUAJIT_LDFLAGS@ +LUA_CFLAGS = @LUA_CFLAGS@ +LUA_CPPFLAGS = @LUA_CPPFLAGS@ +LUA_LDFLAGS = @LUA_LDFLAGS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@